<?php
$CONFIG = array();
if (file_exists(APPLICATION_HOME.DIRECTORY_SEPARATOR.'application'.DIRECTORY_SEPARATOR.'templates')){
    $CONFIG['templates'] = APPLICATION_HOME.DIRECTORY_SEPARATOR.'application'.DIRECTORY_SEPARATOR.'templates';
}else{
    $CONFIG['templates'] = APPLICATION_HOME.DIRECTORY_SEPARATOR.'public'.DIRECTORY_SEPARATOR.'templates';
}
if (file_exists(APPLICATION_HOME.DIRECTORY_SEPARATOR.'application'.DIRECTORY_SEPARATOR.'locales')){
    $CONFIG['locales'] = APPLICATION_HOME.DIRECTORY_SEPARATOR.'application'.DIRECTORY_SEPARATOR.'locales';
}else{
    $CONFIG['locales'] = APPLICATION_HOME.DIRECTORY_SEPARATOR.'public'.DIRECTORY_SEPARATOR.'locales';
}
return $CONFIG;
//CompleXml_Config::set('CompleXml_Output_Xslt', $CONFIG);